
''' <summary>
''' Helper class which holds the possible XML values and how they 
''' are presented in the combo box UI.
''' </summary>
Public NotInheritable Class ComboItem
    Private comboKeyName As String = String.Empty

    Private comboUiName As String = String.Empty

    Public Property KeyName() As String
        Get
            Return Me.comboKeyName
        End Get

        Set(ByVal value As String)
            Me.comboKeyName = value
        End Set
    End Property

    Public Property UIName() As String
        Get
            Return Me.comboUiName
        End Get
        Set(ByVal value As String)
            Me.comboUiName = value
        End Set
    End Property

    Public Sub New()
    End Sub

    Public Sub New(ByVal keyName As String, ByVal uiName As String)
        Me.keyName = keyName
        Me.uiName = uiName
    End Sub

    Public Overrides Function ToString() As String
        Return Me.uiName
    End Function
End Class